

class GuiHandler:
    
    guis = {}
    drawings = []    
    
    @staticmethod
    def register(name, gui):
        GuiHandler.guis[name] = gui
    
    @staticmethod
    def get(name, client):
        return GuiHandler.guis[name](client)
        
    @staticmethod
    def draw(name, data=None):
        GuiHandler.drawings.append([name, data])